//
//  ILView.m
//  BProject
//
//  Created by 久远的回忆 on 15/8/11.
//  Copyright (c) 2015年 久远的回忆. All rights reserved.
//

#import "ILView.h"

@implementation ILView

- (instancetype)initWithFrame:(CGRect)frame WithScale:(CGFloat)Scale
{
    self = [super initWithFrame:frame];
    if (self) {
        _imageView = [UIImageView imageViewWithFrame:CGRectMake(0, 0, frame.size.width * Scale, frame.size.height)];
        [self addSubview:_imageView];
        _label = [UILabel labelWithFrame:CGRectMake(frame.size.width * Scale, 0, frame.size.width * (1 - Scale), frame.size.height)];
        [self addSubview:_label];

    }
    

    return self;
}
@end
